import http from '@/utils/http'
import {EnumAlias} from "@/utils/common";
//获取流程模板
export function flowDesignlistList(params?: object) {
    return http({
        url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/businessTypeRFlowDesign/flowDesignlist`,
        method: 'get',
        params
    })
}
//创建
export function businessTypeRFlowDesignCreate(data?: object) {
    return http({
        url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/businessTypeRFlowDesign/create`,
        method: 'post',
        data
    })
}
//编辑
export function businessTypeRFlowDesignUpdate(data?: object) {
    return http({
        url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/businessTypeRFlowDesign/update`,
        method: 'post',
        data
    })
}
//列表数据
export function businessTypeRFlowDesignPage(params?: object) {
    return http({
        url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/businessTypeRFlowDesign/page`,
        method: 'get',
        params
    })
}
//列表详情
export function businessTypeRFlowDesignDetail(params?: object) {
    return http({
        url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/businessTypeRFlowDesign/detail`,
        method: 'get',
        params
    })
}